Skip to content

Merges vibe-coded branch onto master + fixes 1667 for unix - #106

Open
qwertyenthusiast wants to merge 8 commits into
willox:masterfrom
qwertyenthusiast:bad_vibes
Open

Merges vibe-coded branch onto master + fixes 1667 for unix#106
qwertyenthusiast wants to merge 8 commits into
willox:masterfrom
qwertyenthusiast:bad_vibes

Conversation

@qwertyenthusiast

Copy link
Copy Markdown

This is the vibe-coded branch with a bunch of tweaks to make auxtools work with 516.1667. Only 516 versions were tested, and I'm aware that some 516 builds don't match the signatures; I'm just finishing a script to automatically compare repo signatures against library files before actually fixing those signatures. I'm just making this PR right now in hopes to actually incentivize me to stop procrastinating and for someone to review the changes.

Do poke me on Discord if you want the AGENTS.md gone or something else in the commit.

Comment thread auxtools/src/version.rs Outdated
Comment thread auxtools/src/version.rs Outdated
Comment thread auxtools/src/lib.rs Outdated
Comment thread blah.py Outdated
@qwertyenthusiast

Copy link
Copy Markdown
Author

so, it turns out, it didn't make me do stuff any faster. whoops. it should be good now, though.

@qwertyenthusiast
qwertyenthusiast marked this pull request as ready for review June 21, 2026 14:50
@Absolucy
Absolucy dismissed their stale review June 23, 2026 02:25

will re-review

Comment thread auxtools/src/lib.rs
} }

fn auxtools_init_impl() -> Option<String> {
colog::init();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stick this behind a Once or something - else partial inits may explode.

Comment thread auxtools/src/hooks.cpp
Comment on lines +103 to +105
if (call_proc_by_id_hook(&ret, proc_instance->usr, proc_type, proc_instance->proc_id, unk_0, proc_instance->src, proc_instance->args, proc_instance->args_count, 0, 0)) {
clean(ret);
*out = ret;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this might be skipping the ProcInstance cleanup and leaking a bunch of shit

the 1647 executor normally releases usr/src, drops + frees the args, frees the context, and calls the callback before returning

Comment thread auxtools/src/hooks.cpp
uint32_t argslist_idx;
uint32_t unk_1;
uint32_t unk_2;
uint32_t unk_3;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

struct might not be right, at least on linux.

i think this ends up treating the args pointer as the count, and the first inline arg as a pointer.

don't quote me on this tho, double-check it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants